import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { OverlayModule } from '@angular/cdk/overlay';
import { I18NModule } from '../api';
import { IconModule } from '../../icon/api';
import { SelectTriggerIconModule } from '../select-trigger-icon/api';
import { OverflowModule } from '../..//overflow/api';
import { TooltipModule } from '../../tooltip/api';
import { HelpTooltipModule } from '../../help-tooltip/help-tooltip.module';
import { InternalSelectTriggerComponent } from './internal-select-trigger.component';

const COMPONENTS = [InternalSelectTriggerComponent];

@NgModule({
  declarations: [...COMPONENTS],
  imports: [
    CommonModule,
    FormsModule,
    IconModule,
    OverlayModule,
    I18NModule,
    ReactiveFormsModule,
    OverflowModule,
    TooltipModule,
    SelectTriggerIconModule,
    HelpTooltipModule,
  ],
  exports: [...COMPONENTS],
})
export class InternalSelectTriggerModule {}
